This is the replication file for "Measuring Accountability in Interlocal Agreements between Indigenous and Local Governments".

There are two data files:
- Muni-Indig Agreements (Replication File).xlsx
- Policy Area ReCode.xlsx

There is one R script:
- Replication Analysis and Figures

To reproduce all estimates and figures reported in the main manuscript and the supplementary information file, 
please run the R script.

~~~

Session information is provided below:

R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

Matrix products: default

locale:
[1] LC_COLLATE=English_Canada.1252  LC_CTYPE=English_Canada.1252    LC_MONETARY=English_Canada.1252 LC_NUMERIC=C                    LC_TIME=English_Canada.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
 [1] ggpubr_0.4.0    tidybayes_3.0.1 brms_2.16.3     Rcpp_1.0.7      table1_1.4.2    forcats_0.5.1   stringr_1.4.0   dplyr_1.0.7     purrr_0.3.4     readr_2.1.0     tidyr_1.1.4     tibble_3.1.6
[13] ggplot2_3.3.5   tidyverse_1.3.1 rio_0.5.29      here_1.0.1

loaded via a namespace (and not attached):
  [1] readxl_1.3.1         backports_1.4.0      plyr_1.8.6           igraph_1.2.10        svUnit_1.0.6         crosstalk_1.2.0      equatiomatic_0.3.0   rstantools_2.1.1     inline_0.3.19
 [10] digest_0.6.28        htmltools_0.5.2      rsconnect_0.8.25     fansi_0.5.0          magrittr_2.0.1       checkmate_2.0.0      tzdb_0.2.0           openxlsx_4.2.4       modelr_0.1.8
 [19] RcppParallel_5.1.4   matrixStats_0.61.0   xts_0.12.1           prettyunits_1.1.1    colorspace_2.0-2     rvest_1.0.2          ggdist_3.0.1         haven_2.4.3          xfun_0.28
 [28] callr_3.7.0          crayon_1.4.2         jsonlite_1.7.2       zoo_1.8-9            glue_1.5.0           gtable_0.3.0         emmeans_1.7.1-1      V8_3.6.0             distributional_0.2.2
 [37] car_3.0-12           pkgbuild_1.3.0       rstan_2.21.2         abind_1.4-5          scales_1.1.1         mvtnorm_1.1-3        DBI_1.1.1            rstatix_0.7.0        miniUI_0.1.1.1
 [46] xtable_1.8-4         foreign_0.8-81       Formula_1.2-4        stats4_4.1.2         StanHeaders_2.21.0-7 DT_0.20              htmlwidgets_1.5.4    httr_1.4.2           threejs_0.3.3
 [55] arrayhelpers_1.1-0   posterior_1.1.0      ellipsis_0.3.2       pkgconfig_2.0.3      loo_2.4.1            farver_2.1.0         dbplyr_2.1.1         utf8_1.2.2           tidyselect_1.1.1
 [64] rlang_0.4.12         reshape2_1.4.4       later_1.3.0          munsell_0.5.0        cellranger_1.1.0     tools_4.1.2          cli_3.1.0            generics_0.1.1       broom_0.7.10
 [73] ggridges_0.5.3       fastmap_1.1.0        processx_3.5.2       knitr_1.36           fs_1.5.0             zip_2.2.0            nlme_3.1-153         mime_0.12            xml2_1.3.2
 [82] compiler_4.1.2       bayesplot_1.8.1      shinythemes_1.2.0    rstudioapi_0.13      curl_4.3.2           ggsignif_0.6.3       reprex_2.0.1         stringi_1.7.5        ps_1.6.0
 [91] Brobdingnag_1.2-6    lattice_0.20-45      Matrix_1.3-4         markdown_1.1         shinyjs_2.0.0        tensorA_0.36.2       vctrs_0.3.8          pillar_1.6.4         lifecycle_1.0.1
[100] bridgesampling_1.1-2 estimability_1.3     data.table_1.14.2    httpuv_1.6.3         R6_2.5.1             promises_1.2.0.1     gridExtra_2.3        codetools_0.2-18     colourpicker_1.1.1
[109] gtools_3.9.2         assertthat_0.2.1     rprojroot_2.0.2      withr_2.4.2          shinystan_2.5.0      parallel_4.1.2       hms_1.1.1            grid_4.1.2           coda_0.19-4
[118] carData_3.0-4        shiny_1.7.1          lubridate_1.8.0      base64enc_0.1-3      dygraphs_1.1.1.6    
